<!--
 * @Author: fengweicong 75202172+fengweicong@users.noreply.github.com
 * @Date: 2022-06-30 15:01:00
 * @LastEditors: fengweicong 75202172+fengweicong@users.noreply.github.com
 * @LastEditTime: 2022-06-30 15:01:04
 * @FilePath: \B2B\ebuy\src\views\supplier\RightBar\index.vue
 * @Description: 
 * 
 * Copyright (c) 2022 by fengweicong 75202172+fengweicong@users.noreply.github.com, All Rights Reserved. 
-->
<template>
  <div class="RightBar clearfix">
        <h1>{{title}}</h1>
        <slot></slot>
  </div>
</template>

<script>
export default {
    name:'RightBar',
    props:{
        title:String,
    }
}
</script>

<style lang='less' scoped>
.clearfix::after,
.clearfix::before{
    display: table;
    content: '';
    clear: both;
}
.RightBar{
    background-color: white;
    h1{
        margin-left: 20px;
    }
}
</style>